import React from 'react';
import { Col, Row } from 'antd';
import NavLeft from './components/NavLeft';
import Header from './components/Header';
import Fonter from './components/Footer';
import Util from './utils/utils';
import './style/common.less';

class Admin extends React.Component {
    constructor(props) {
        super(props);
        this.state = { 

        };
    }

    // 验证是否登录了
    componentDidMount(){
    }

    render() {
        return (
            <Row className="container">
                <Col span={4} className="nav-left">
                    <NavLeft/>
                </Col>
                <Col span={20} className="main">
                    <Header/>
                    <Row className="content" justify="center">
                        { this.props.children }
                    </Row>
                    {/* <Fonter/> */}
                </Col>
            </Row>
        );
    }
}

export default Admin;